const mongoose = require("mongoose");
mongoose.connect("mongodb://127.0.0.1/chengyu", function (err) {
  if (err) {
    return console.log(err);
  }
  console.log("链接成功");
})